package com.zzyl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
//@ComponentScan({"com.zzyl.web","com.zzyl.nursing"})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableScheduling
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println(
                " *                                                    __----~~~~~~~~~~~------___\n" +
 " *                                   .  .   ~~//====......          __--~ ~~\n" +
 " *                   -.            \\_|//     |||\\\\  ~~~~~~::::... /~\n" +
 " *                ___-==_       _-~o~  \\/    |||  \\\\            _/~~-\n" +
 " *        __---~~~.==~||\\=_    -_--~/_-~|-   |\\\\   \\\\        _/~\n" +
 " *    _-~~     .=~    |  \\\\-_    '-~7  /-   /  ||    \\      /\n" +
 " *  .~       .~       |   \\\\ -_    /  /-   /   ||      \\   /\n" +
 " * /  ____  /         |     \\\\ ~-_/  /|- _/   .||       \\ /\n" +
 " * |~~    ~~|--~~~~--_ \\     ~==-/   | \\~--===~~        .\\\n" +
 " *          '         ~-|      /|    |-~\\~~       __--~~\n" +
 " *                      |-~~-_/ |    |   ~\\_   _-~            /\\\n" +
 " *                           /  \\     \\__   \\/~                \\__\n" +
 " *                       _--~ _/ | .-~~____--~-/                  ~~==.\n" +
 " *                      ((->/~   '.|||' -_|    ~~-/ ,              . _||\n" +
 " *                                 -_     ~\\      ~~---l__i__i__i--~~_/\n" +
 " *                                 _-~-__   ~)  \\--______________--~~\n" +
 " *                               //.-~~~-~_--~- |-------~~~~~~~~\n" +
 " *                                      //.-~~~--\\\n" +
 " *                               神兽保佑\n" +
 " *                              代码无BUG!\n"
        );
    }
}
